<?php
class FormulaAlimento extends AppModel {
    var $name = 'FormulaAlimento';
    var $useTable = "formulas_alimentos";

    var $belongsTo = array(
        'FormulaDesarrollada' => array(
            'classname' => 'FormulaDesarrollada',
            'foreignKey' => 'formula_desarrollada_id'
        ),
        'Alimento' => array(
            'classname' => 'Alimento',
            'foreignKey' => 'alimento_id'
        )
    );

}

?>